package data.dao;

import java.util.ArrayList;

import data.dao.daoImplementation.SQLException;
import data.dao.daoImplementation.NotFoundException;
import data.dto.UserHierarchyDTO;
import data.searchdto.UserHierarchySearchDTO;

public interface UserHierarchyDAO {
	public UserHierarchyDTO findHierarchy(UserHierarchySearchDTO hierarchysearchdto) throws UserHierarchyDAOException;
	public ArrayList<UserHierarchyDTO> findAllHierarchy() throws UserHierarchyDAOException;
	public void insertHierarchy(UserHierarchyDTO hierarchy) throws UserHierarchyDAOException;
    public void updateHierarchy(UserHierarchyDTO hierarchy) throws UserHierarchyDAOException;
    public void deleteHierarchy(UserHierarchyDTO hierarchy) throws UserHierarchyDAOException, NotFoundException, SQLException;
}
